<?php
/* @var $this FamliyinfoController */
/* @var $model Famliyinfo */
/* @var $form CActiveForm */
?>

<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'famliyinfo-form',
	// Please note: When you enable ajax validation, make sure the corresponding
	// controller action is handling ajax validation correctly.
	// There is a call to performAjaxValidation() commented in generated controller code.
	// See class documentation of CActiveForm for details on this.
	'enableAjaxValidation'=>false,
));
CHtml::$beforeRequiredLabel = '*';
CHtml::$afterRequiredLabel  = '：';
CHtml::$requiredCss         = '';    
?>


  <div class="formtitle"><span>家庭成员信息</span></div>
  <ul class="forminfo" >
    <li class="hang_3">
      <?php echo $form->labelEx($model,'fname',array('style'=>"text-align:right;")); ?>&nbsp;
      <?php echo $form->textField($model,'fname',array('size'=>20,'maxlength'=>20,'class'=>'dfinput')); ?>
		<?php echo $form->error($model,'fname'); ?>
    </li>
    <li class="hang_3">
      <?php echo $form->labelEx($model,'fszsq',array('style'=>"text-align:right;")); ?>&nbsp;
      <?php echo $form->textField($model,'fszsq',array('size'=>20,'maxlength'=>20,'class'=>'dfinput')); ?>
		<?php echo $form->error($model,'fszsq'); ?>
    </li>
    
    <li class="hang_3l">
      <?php echo $form->labelEx($model,'fUID',array('style'=>"text-align:right;")); ?>&nbsp;
     <?php echo $form->textField($model,'fUID',array('size'=>20,'maxlength'=>20,'class'=>'dfinput')); ?>
		<?php echo $form->error($model,'fUID'); ?>
    </li>
    <li class="hang_3  bg_b">
      <?php echo $form->labelEx($model,'fdbzh',array('style'=>"text-align:right;")); ?>&nbsp;
      <?php echo $form->textField($model,'fdbzh',array('size'=>20,'maxlength'=>20,'class'=>'dfinput')); ?>
		<?php echo $form->error($model,'fdbzh'); ?>
    </li>
    <li class="hang_3 bg_b">
      <?php echo $form->labelEx($model,'fsex',array('style'=>"text-align:right;")); ?>&nbsp;
      <?php echo $form->dropDownList($model,'fsex', array(' '=>'请选择','男'=>'男','女'=>'女'), array('class'=>"dfinput1",'style'=>"opacity:1; filter:alpha(opacity=100);")); ?>
    </li>
    <li class="hang_3l bg_b">
      <?php echo $form->labelEx($model,'fage',array('style'=>"text-align:right;")); ?>&nbsp;
      <?php echo $form->textField($model,'fage',array('size'=>15,'maxlength'=>20,'class'=>'dfinput')); ?>
		<?php echo $form->error($model,'fage'); ?>
    人</li>
    <li class="hang_3">
     <?php echo $form->labelEx($model,'ftel',array('style'=>"text-align:right;")); ?>&nbsp;
      <?php echo $form->textField($model,'ftel',array('size'=>20,'maxlength'=>20,'class'=>'dfinput')); ?>
		<?php echo $form->error($model,'ftel'); ?>
    </li>
    <li class="hang_3">
     <?php echo $form->labelEx($model,'ftype',array('style'=>"text-align:right;")); ?>&nbsp;
     <?php echo $form->dropDownList($model,'ftype', CHtml::listData(Userclass::model()->findAll(),'text','text'), array('class'=>"dfinput1",'style'=>"opacity:1; filter:alpha(opacity=100);")); ?>
    </li>
    <li class="hang_3">
      <?php echo $form->labelEx($model,'fmoney',array('style'=>"text-align:right;")); ?>&nbsp;
      <?php echo $form->textField($model,'fmoney',array('size'=>18,'maxlength'=>20,'class'=>'dfinput')); ?>
		<?php echo $form->error($model,'fmoney'); ?>
     </li>

	<li class="hang_1 bg_b">
        <?php echo $form->labelEx($model,'faddress',array('style'=>"text-align:right;")); ?>&nbsp;
        <?php echo $form->textField($model,'faddress',array('size'=>80,'maxlength'=>80,'class'=>'dfinput')); ?>
		<?php echo $form->error($model,'faddress'); ?>
    </li>
  </ul>
  <?php
  $hzID  =Yii::app()->request->getParam('userid');
	echo $form->hiddenField($model,'userid',array('size'=>20,'maxlength'=>20,'class'=>'dfinput','value'=>$hzID));
  ?>
  <div>
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td height="50" colspan="2" align="center">
           <input type="image" name="ImageButton2" id="ImageButton2" src="<?php echo Yii::app()->request->baseUrl; ?>/images/tj.gif" class="qd" />
          &nbsp; &nbsp; &nbsp; &nbsp;
          <input type="image" name="ImageButton2" id="ImageButton2" src="<?php echo Yii::app()->request->baseUrl; ?>/images/cz.gif" class="qd1" /></td>
      </tr>
    </table>
  </div>
	<?php echo $form->errorSummary($model); ?>
<?php $this->endWidget(); ?>

</div><!-- form -->

